package com.ybkj.o2o.zhuanche.amqp.docking;

import java.io.Serializable;

/**
 * Created by tanglei on 5/2/2017
 */
public class DdcxMessage implements Serializable{

	private static final long serialVersionUID = 1L;
	
	
	/**
	 * 司机撤销.
	 */
	public static String DDCX_DRIVER = "1";
	
	/**
	 * 乘客撤销.
	 */
	public static String DDCX_PASSENGER = "2";
	
	/**
	 * 平台撤销.
	 */
	public static String DDCX_PLATFORM = "3";
	
	private String orderNo;  //订单号
	
	private String canceler; //撤销人
	
	private String cancelTime; //撤单时间
	
	private String cancelReason; //撤单原因
	
	private String appKey;

	public String getCancelTypeCode() {
		return cancelTypeCode;
	}

	public void setCancelTypeCode(String cancelTypeCode) {
		this.cancelTypeCode = cancelTypeCode;
	}

	public void setType(String type) {
		this.type = type;
	}

	private String cancelTypeCode;
	
	private String type = Type.MOREQ_DDCX; 

	public String getType() {
		return type;
	}

	
	public String getOrderNo() {
		return orderNo;
	}


	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}


	public String getCanceler() {
		return canceler;
	}

	public void setCanceler(String canceler) {
		this.canceler = canceler;
	}

	public String getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(String cancelTime) {
		this.cancelTime = cancelTime;
	}

	public String getCancelReason() {
		return cancelReason;
	}

	public void setCancelReason(String cancelReason) {
		this.cancelReason = cancelReason;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
}
